package Main;

import java.awt.Color;

/**
 *
 * @author Emmanuel
 */
public class Devint {
    
    public static void main(String argv[]) {
        // Niveau n=new NiveauScript();
        Niveau n=new NiveauArcade();
        Obstacle o=new BasicObstacle(new Position(900, 130), 150, 100);
        
        //n.addObstacle(o);
        
        /*for(int i=0;i<10;i++) {
            n.addObstacle(new BasicObstacle(new Position(2000+650*i, 0), 150, 100) );
        }*/
        
        Personnage p=new Personnage(new Position(50, 0));
        o.playSound(p);
        Drawer d=new Drawer(n, p, new GraphicalOption(Color.black, Color.red));
        Simulator s=new Simulator(n, d, p);
        new Fenetre(d, s, p);
        s.run();
    }
}
